﻿

    <link rel="stylesheet" href="/sources/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/sources/layui/css/layuimini.css" media="all" />
    <!-- Jquery Js -->
    <script type="text/javascript" src="/sources/jquery.min.js"></script>
    <!-- Layui Js -->
    <script type="text/javascript" src="/sources/layui/layui.js"></script>
    <script type="text/javascript" src="/sources/layui/layui.js?v=1.0.4" charset="utf-8"></script>
    
    <div>
<!--        @*表格*@-->
        <div style="width:100%;height:200px;margin:15px">
            <div class="layui-btn-group demoTable">
                <button data-method="offset" data-type="Add" class="layui-btn layui-btn-normal" style="margin: 0 auto">+新增解决方案</button>
            </div>
            <table id="tables" lay-filter="demo" class="tableStyle" style="margin:0 auto"></table>
        </div>

        <script type="text/html" id="barDemo">

<!--            @if (Session["username"] == null)-->
<!--            {-->
<!--                return;-->
<!--            }-->
<!--            {{#if (d.createby=="@Session["username"].ToString()"||"@Session["username"].ToString()"=="admin"||d.createby=="@Session["admin_username"].ToString()"||"@Session["admin_username"].ToString()"=="admin"){ }}-->
<!--            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>-->
<!--            <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>-->
<!--            @*<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>*@-->
<!--            {{#  }else{ }}-->
<!--            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>-->
<!--            {{#  } }}-->
        </script>
<!--        @*新新增*@-->
        <div id="test" style="display:none">
            <form id="addForm" method="post" class="layui-form" action="">
                <table class="tableForm">
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">编码：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="Sid_bm" name="Sid_bm" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">行业：</label>
                                <div class="layui-input-block">
                                    <select id="area" name="area" style="">
                                        <option value=""></option>
                                        <option value="服装">服装</option>
                                        <option value="家电">家电</option>
                                        <option value="高端设备">高端设备</option>
                                        <option value="农机">农机</option>
                                        <option value="化学制药">化学制药</option>
                                        <option value="其他">其他</option>
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">缩略图：</label>
                                <div class="layui-input-block">
                                    <input type="file" multiple="multiple" id="pic" name="pic">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">上传文件：</label>
                                <div class="layui-input-block">
                                    <input type="file" multiple="multiple" id="upfile" name="upfile">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">标题：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="title" name="title" required lay-verify="required" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">单位：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="unit" name="unit" required lay-verify="required" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">联系电话：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="phone" name="phone" required lay-verify="required" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">邮箱：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="email" name="email" required lay-verify="required" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </td>
                    </tr>
<!--                    @*<tr>-->
<!--                        <td>-->
<!--                            <div class="layui-form-item">-->
<!--                                <label class="layui-form-label">创建人：</label>-->
<!--                                <div class="layui-input-block">-->
<!--                                    <input type="text" id="createby" name="createby" required lay-verify="required" autocomplete="off" class="layui-input" >-->
<!--                                </div>-->
<!--                            </div>-->
<!--                        </td>-->
<!--                        <td>-->
<!--                            <div class="layui-form-item">-->
<!--                                <label class="layui-form-label">创建时间：</label>-->
<!--                                <div class="layui-input-block">-->
<!--                                    <input type="text" id="createtime" name="createtime" required lay-verify="required" autocomplete="off" class="layui-input" readonly>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                        </td>-->
<!--                    </tr>*@-->
                    <tr>
                        <td colspan="2">
                            <div class="layui-form-item">
                                <label class="layui-form-label">描述：</label>
                                <div class="layui-input-block">
                                    <textarea id="description" name="description" class="layui-textarea"></textarea>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <div class="layui-form-item">
                                <label class="layui-form-label">描述：</label>
                                <div class="layui-input-block">
                                    <textarea id="description" name="description" class="layui-textarea"></textarea>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <div class="layui-form-item">
                                <label class="layui-form-label">描述：</label>
                                <div class="layui-input-block">
                                    <textarea id="description" name="description" class="layui-textarea"></textarea>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
<!--                <HR style="FILTER: alpha(opacity=0,finishopacity=100,style=1)" width="100%" color="#CFCFCF" SIZE=1>-->
                <div style="margin:0 auto;text-align:center; font-size:15px;color:sandybrown">
                    <P>注意事项：</P>
                    <P>编码字段为不可修改项！行业、图片、文件为必传项!</P>
                </div>
            </form>
        </div>
<!--        @*查看*@-->
        <div id="look" style="display:none">
            <form id="addForm_F" method="post" class="layui-form" action="">
                <table class="tableForm">
                    <tr>
                        <td colspan="2">
                            <div class="layui-form-item">
                                <label class="layui-form-label">编码：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_Sid_bm" name="look_Sid_bm" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">标题：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_title" name="look_title" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">行业：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_area" name="look_area" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">图片名称：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_pic" name="look_pic" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">文件名称：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_upfile" name="look_upfile" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">下载次数：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_counter" name="look_counter" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">单位：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_unit" name="look_unit" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">联系电话：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_phone" name="look_phone" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">邮箱：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_email" name="look_email" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">创建人：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_createby" name="look_createby" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">创建时间：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="look_createtime" name="look_createtime" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <div class="layui-form-item">
                                <label class="layui-form-label">描述：</label>
                                <div class="layui-input-block">
                                    <textarea id="look_description" name="look_description" class="layui-textarea" readonly></textarea>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
<!--        @*新编辑*@-->
        <div id="edit" style="display:none">
            <form id="editForm" method="post" class="layui-form" action="">
                <table class="tableForm">
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">ID：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_id" name="e_id" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">编码：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_Sid_bm" name="e_Sid_bm" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">标题：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_title" name="e_title" required lay-verify="required" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">行业：</label>
                                <div class="layui-input-block">
                                    <select id="e_area" name="e_area" style="">
                                        <option value="服装">服装</option>
                                        <option value="家电">家电</option>
                                        <option value="高端设备">高端设备</option>
                                        <option value="农机">农机</option>
                                        <option value="化学制药">化学制药</option>
                                        <option value="其他">其他</option>
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">图片名称：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_pic" name="e_pic" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">文件名称：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_upfile" name="e_upfile" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">下载次数：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_counter" name="e_counter" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">单位：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_unit" name="e_unit" required lay-verify="required" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">联系电话：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_phone" name="e_phone" required lay-verify="required" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">邮箱：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_email" name="e_email" required lay-verify="required" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">创建人：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_createby" name="look_createby" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="layui-form-item">
                                <label class="layui-form-label">创建时间：</label>
                                <div class="layui-input-block">
                                    <input type="text" id="e_createtime" name="look_createtime" required lay-verify="required" autocomplete="off" class="layui-input" readonly>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <div class="layui-form-item">
                                <label class="layui-form-label">描述：</label>
                                <div class="layui-input-block">
                                    <textarea id="e_description" name="e_description" class="layui-textarea"></textarea>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
<!--                <HR style="FILTER: alpha(opacity=0,finishopacity=100,style=1)" width="100%" color="#CFCFCF" SIZE=1>-->
                <div style="margin:0 auto;text-align:center; font-size:15px;color:sandybrown">
                    <P>注意事项：</P>
                    <P>编码、图片名称、文件名称、下载次数、创建人、创建时间字段为不可修改项！</P>
                </div>
            </form>
        </div>
    </div>
    <script src="/js/providers/solution.js"></script>




